package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.OrderDetail;
import com.xmy.cultivate.entity.StudentAccount;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.respons.ResStudentAccount;
import com.xmy.cultivate.util.Result;

/**
 * <p>
 * 帐号 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2024-03-20
 */
public interface IStudentAccountService extends IService<StudentAccount> {

    Result applyAddStudentAccount(OrderDetail orderDetail);

    Result addStudentAccountBatch(Integer yearPart, Integer quarterNum, Long studentId, Long subjectsId);

    void updateStudentAccountPwd(StudentAccount studentAccount);

    void addStudentAccount(ResStudentAccount resStudentAccount);
}
